package com.erp.erp_ui.warehouse.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Map;

/**
 * @ClassName : StockAccountAgeVo
 * @Description : 库存账龄出参实体
 * @Author : lst
 * @Date: 2020-07-21 10:50
 */
public class StockAccountAgeVo implements Serializable {
    /**
     * 序列码
     */
    private static final long serialVersionUID = 8831771907979246560L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 仓库
     */
    private String warehouse;

    /**
     * 合同号
     */
    private String contractNo;

    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private String contractTypeStr;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 规格编码
     */
    private String specificationCode;

    /**
     * 批次号
     */
    private String lotNo;

    /**
     * 实际数量
     */
    private BigDecimal realQuantity;

    /**
     * 库存账龄(天)
     */
    private Integer stockAccountAge;

    /**
     *小于60天
     */
    private BigDecimal lessThanSixtyDays;
    /**
     * 60至180天
     */
    private BigDecimal oneHundredEighty;
    /**
     * 180天至一年
     */
    private BigDecimal threeHundredSixty;
    /**
     * 一年至两年
     */
    private BigDecimal sevenHundredTwenty;
    /**
     * 两年以上
     */
    private BigDecimal moreThanTwoYears;

    /**
     * 产品中文名称
     */
    private String productCname;

    /**
     * 产品英文名称
     */
    private String productEname;

    /**
     * 规格说明
     */
    private String specificationExplanation;

    /**
     * 产品中文描述
     */
    private String productCdesc;

    /**
     * 产品英文描述
     */
    private String productEdesc;

    /**
     * 分摊费用单价
     */
    private BigDecimal shareCostPrice;

    /**
     * 产品单价(初始来源于备货入库中的 入库成本)
     */
    private BigDecimal productUnitPrice;

    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;

    /**
     * 总托盘
     */
    private BigDecimal totalTray;


    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public BigDecimal getLessThanSixtyDays() {
        return lessThanSixtyDays;
    }

    public void setLessThanSixtyDays(BigDecimal lessThanSixtyDays) {
        this.lessThanSixtyDays = lessThanSixtyDays;
    }

    public BigDecimal getOneHundredEighty() {
        return oneHundredEighty;
    }

    public void setOneHundredEighty(BigDecimal oneHundredEighty) {
        this.oneHundredEighty = oneHundredEighty;
    }

    public BigDecimal getThreeHundredSixty() {
        return threeHundredSixty;
    }

    public void setThreeHundredSixty(BigDecimal threeHundredSixty) {
        this.threeHundredSixty = threeHundredSixty;
    }

    public BigDecimal getSevenHundredTwenty() {
        return sevenHundredTwenty;
    }

    public void setSevenHundredTwenty(BigDecimal sevenHundredTwenty) {
        this.sevenHundredTwenty = sevenHundredTwenty;
    }

    public BigDecimal getMoreThanTwoYears() {
        return moreThanTwoYears;
    }

    public void setMoreThanTwoYears(BigDecimal moreThanTwoYears) {
        this.moreThanTwoYears = moreThanTwoYears;
    }

    public String getContractTypeStr() {
        return contractTypeStr;
    }

    public void setContractTypeStr(String contractTypeStr) {
        this.contractTypeStr = contractTypeStr;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public BigDecimal getRealQuantity() {
        return realQuantity;
    }

    public void setRealQuantity(BigDecimal realQuantity) {
        this.realQuantity = realQuantity;
    }

    public Integer getStockAccountAge() {
        return stockAccountAge;
    }

    public void setStockAccountAge(Integer stockAccountAge) {
        this.stockAccountAge = stockAccountAge;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public String getProductCdesc() {
        return productCdesc;
    }

    public void setProductCdesc(String productCdesc) {
        this.productCdesc = productCdesc;
    }

    public String getProductEdesc() {
        return productEdesc;
    }

    public void setProductEdesc(String productEdesc) {
        this.productEdesc = productEdesc;
    }

    public BigDecimal getShareCostPrice() {
        return shareCostPrice;
    }

    public void setShareCostPrice(BigDecimal shareCostPrice) {
        this.shareCostPrice = shareCostPrice;
    }

    public BigDecimal getProductUnitPrice() {
        return productUnitPrice;
    }

    public void setProductUnitPrice(BigDecimal productUnitPrice) {
        this.productUnitPrice = productUnitPrice;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("StockAccountAgeVo").append('[')
                .append("id=")
                .append(id)
                .append(",warehouse=")
                .append(warehouse)
                .append(",contractNo=")
                .append(contractNo)
                .append(",contractTypeStr=")
                .append(contractTypeStr)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",lotNo=")
                .append(lotNo)
                .append(",realQuantity=")
                .append(realQuantity)
                .append(",stockAccountAge=")
                .append(stockAccountAge)
                .append(",lessThanSixtyDays=")
                .append(lessThanSixtyDays)
                .append(",oneHundredEighty=")
                .append(oneHundredEighty)
                .append(",threeHundredSixty=")
                .append(threeHundredSixty)
                .append(",sevenHundredTwenty=")
                .append(sevenHundredTwenty)
                .append(",moreThanTwoYears=")
                .append(moreThanTwoYears)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",productCdesc=")
                .append(productCdesc)
                .append(",productEdesc=")
                .append(productEdesc)
                .append(",shareCostPrice=")
                .append(shareCostPrice)
                .append(",productUnitPrice=")
                .append(productUnitPrice)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(']');
        return sb.toString();
    }
}
